package com.changpay.zywy.bean

import com.chad.library.adapter.base.entity.MultiItemEntity

class RankBean {

    /**
     * list : [{"lg_member_id":10144,"lg_member_name":"155****1818","amount":"13.4亿","rownum":1,"level":2},{"lg_member_id":10921,"lg_member_name":"135****9021","amount":"12.3亿","rownum":2,"level":2},{"lg_member_id":10349,"lg_member_name":"177****8880","amount":"6.4亿","rownum":3,"level":2},{"lg_member_id":10226,"lg_member_name":"186****8885","amount":"5.6亿","rownum":4,"level":1},{"lg_member_id":10147,"lg_member_name":"150****2071","amount":"5.1亿","rownum":5,"level":2},{"lg_member_id":10287,"lg_member_name":"186****5078","amount":"3.7亿","rownum":6,"level":2},{"lg_member_id":10300,"lg_member_name":"137****1319","amount":"3.4亿","rownum":7,"level":2},{"lg_member_id":11811,"lg_member_name":"136****7240","amount":"3.4亿","rownum":8,"level":1},{"lg_member_id":10969,"lg_member_name":"155****5858","amount":"3.3亿","rownum":9,"level":1},{"lg_member_id":10354,"lg_member_name":"152****2131","amount":"3.2亿","rownum":10,"level":2}]
     * my_ranking : {"lg_member_id":10157,"lg_member_name":"188****0520","points":3621,"rownum":12462,"level":2,"amount":"1.3万"}
     */

    var my_ranking: MyRankingBean? = null
    var list: List<ListBean>? = null

    class MyRankingBean {
        /**
         * lg_member_id : 10157
         * lg_member_name : 188****0520
         * points : 3621
         * rownum : 12462
         * level : 2
         * amount : 1.3万
         */

        var lg_member_id: Int = 0
        var lg_member_name: String? = null
        var points: Int = 0
        var rownum: Int = 0
        var level: Int = 0
        var amount: String? = null
    }

    class ListBean : MultiItemEntity {
        override fun getItemType(): Int {
            return mitemType
        }
        /**
         * lg_member_id : 10144
         * lg_member_name : 155****1818
         * amount : 13.4亿
         * rownum : 1
         * level : 2
         */

        var mitemType = 1
        var lg_member_id: Int = 0
        var lg_member_name: String? = null
        var amount: String? = null
        var rownum: Int = 0
        var level: Int = 0
    }
}
